# -*- encoding:UTF-8 -*-
import time
import calendar
import datetime

# time
print("----------------------time------------------------")
print(time.time())
print(time.localtime(time.time()))
print(time.asctime(time.localtime(time.time())))
print(time.strftime("%Y-%m-%d %H:%M:%S",time.localtime()))
print(time.strftime("%A %B %Y %H:%M:%S",time.localtime()))
# calendar
print("--------------------calendar----------------------")
print(calendar.month(2018,11))
print(calendar.calendar(2018))
print(calendar.isleap(2020))
print(calendar.monthcalendar(2018,11))
# datetime
print("--------------------datetime----------------------")
print(datetime.date(2018,11,20))
